package secondPart.inheritance;

public class Initial {
    public static void main(String[] args) {
        Animal animal = new Animal();
        System.out.println("animal.age  " + animal.age);
        Dog dog = new Dog();
        // dog.age = 10;
        dog.name = "xiaotian";
        dog.eat();
    }
}
